<h1><?php if(!include_slot('jfPD_title')): echo jfPortableDevice::getPageTitle(); endif; ?></h1>
<?php if(jfPortableDevice::getConfig('useLogo')): ?>
	<div class="jfPD_logoWrapper">
	  <a class="jfPD_logo" href="<?php echo url_for('@homepage') ?>"></a>
	</div>
<?php endif; ?>
<?php if (in_array('jfPDExtensionToolbar', sfConfig::get('sf_enabled_modules'))): ?>
  <?php include_component('jfPDExtensionToolbar', 'toolbar') ?>
<?php endif; ?>